//
//  AboutVC.m
//  BrushFace
//
//  Created by timer_q on 16/1/6.
//  Copyright © 2016年 Zzz. All rights reserved.
//

#import "AboutVC.h"
#import "LiaoJieVC.h"
#import "HeZuoVC.h"

@interface AboutVC ()
@property (weak, nonatomic) IBOutlet UILabel *versionLabel;

@end

@implementation AboutVC

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    [self UIConfig];
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}
- (void)viewDidAppear:(BOOL)animated{
    [super viewDidAppear:animated];
    _versionLabel.text = [NSString stringWithFormat:@"刷脸%@",[[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleShortVersionString"]];
    
}

#pragma mark - customMethods
- (void)UIConfig{
    [self.navBar setTitle:@"关于刷脸"];
    [self.navBar setLeftBtn:NAV_BAR_LEFT_BTN_TYPE_BLUE];
}
- (IBAction)liaoJieBtnClick:(id)sender {
    LiaoJieVC * _vc = [[LiaoJieVC alloc]init];
    [_vc setHidesBottomBarWhenPushed:YES];
    [self.navigationController pushViewController:_vc animated:YES];
}
- (IBAction)heZuoBtnClick:(id)sender {
    HeZuoVC * _vc = [[HeZuoVC alloc]init];
    [_vc setHidesBottomBarWhenPushed:YES];
    [self.navigationController pushViewController:_vc animated:YES];
}

@end
